<template>
	<view>
		<view class="">
			<view class="m-h1" style="text-align: center;">
				我的清单
			</view>
			<view class="" @tap="toBack()">
				<image class="nav-margin-back-img" src="../../static/back.png" mode="widthFix"></image>
			</view>
		</view>	
	
		<view class="nav-margin-top" style="">
			<view class="" style="display: flex;justify-content: space-around;">
				<view @tap="isCheck=1" class="o-4-font-1" :class="[isCheck=='1'?'o-4-font-1-active':'']">
					全部清单
				</view>
				<view @tap="isCheck=2" class="o-4-font-1" :class="[isCheck=='2'?'o-4-font-1-active':'']">
					自建清单
				</view>
				<view @tap="isCheck=3" class="o-4-font-1" :class="[isCheck=='3'?'o-4-font-1-active':'']">
					分享清单
				</view>
			</view>
			<view class="o-bg-1">
			</view>
			<view class="o-bg" style="">
				<view class="o-bg-2" @tap="toOrder5" >
					<view class="content" style="display: flex;justify-content: space-between;margin-top: 20rpx;">
						<view class="">
							<view class="o-4-font-2">
								沙葛小学一期项目需求清单
							</view>
							<view class="">
								<text class="o-4-font-3" style="margin-right: 20rpx;">分享</text>
								<text class="o-4-font-4">2021-01-12 13:09</text>
							</view>
						</view>
						<view class="" style="padding-top: 30rpx;">
							<text class="o-4-font-5" style="margin-right: 20rpx;">2个商品</text>
							<image style="width: 36rpx;height: 36rpx;position: relative;top: 10rpx;" src="../../static/next.png" mode="widthFix"></image>
						</view>
					</view>
				</view>
				
				
			</view>
			
			
			
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				isCheck:1,
			}
		},
		methods: {
			toBack:function(){
				console.log(1)
				uni.navigateBack({
					delta: 1 //返回上一级页面
				})
			},
			toOrder5:function(){
				uni.navigateTo({
					url:'../order-5/order-5'
				})
			}
		}
	}
</script>

<style lang="less" scoped>
@import url('../../style.less');
@import url('order-4.less');
</style>
